import com.alibaba.fastjson.JSONObject;

public class ModularMain implements Imodular {

    public DmjMain dmjMain;

    //返回模组名字
    public String modularName() {
        return "测试模组";
    }

    //返回模组版本
    public String version() {
        return "V1.0.0";
    }

    //有新弹幕到来时会被调用
    public void newDmCall(JSONObject dmJSONObject) {

    }

    //初始化时会被调用
    public void modularInit(DmjMain dmjMain1) {
        dmjMain = dmjMain1;
        dmjMain.newLogCallback(modularName()+version());
    }

    //设置时会被调用
    public void Setting() {

    }
}
